package action_行为型.template_pattern_模板模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/09/19:14
 * @Description:
 */
public abstract class Game {

	abstract void initialize();

	abstract void start();

	abstract void end();

	public final void play() {

		initialize();

		start();

		end();

	}

}
